package com.duobaoyu.dby.supply.common.biz.vo.order;

import com.duobaoyu.dby.supply.common.biz.serializer.BigDecimalSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 分页获取订单列表VO
 * @author chenms
 * @date 2023/10/16 3:42 PM
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderPageVO implements Serializable {
	private static final long serialVersionUID = -9092652531933288910L;
	/**
     * SKU编码
     */
    private String skuCode;
    /**
     * SKU名称
     */
    private String skuName;
    /**
     * SKU图片
     */
    private String skuPic;
    /**
     * SKU数量
     */
    private Integer skuNum;
    /**
     * 供应链订单号
     */
    private String orderSn;
    /**
     * 业务订单交易号
     */
    private String bizTradeSn;
    /**
     * 渠道子单号
     */
    private String channelOrderSn;
	/**
	 * 供应链交易单号
	 */
	private String supplyTradeSn;
	/**
     * 商户ID
     */
    private Long mchId;
    /**
     * 渠道编码
     */
    private String channelCode;
    /**
     * 渠道图标
     */
    private String icon;
    /**
     * 业务来源
     */
    private String showServerName;
    /**
     * 成本总额
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal totalPlatformPrice;
    /**
     * 实付总额
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal totalPlatformSellPrice;
	/**
	 * 收货人姓名
	 */
	private String consigneeName;
	/**
	 * 收货人电话
	 */
	private String consigneePhone;
    /**
     * 订单状态
     */
    private Integer orderStatus;
    /**
     * 订单状态描述
     */
    private String orderStatusDesc;
    /**
     * 订单备注
     */
    private String orderRemark;
	/**
	 * 运营备注
	 */
	private String operateRemark;
	/**
     * 充值账号
     */
    private String rechargeAccount;
	/**
	 * 订单创建时间
	 */
	private LocalDateTime createTime;
}
